<?php
/* @var $this CustomerquoteController */
/* @var $model Customerquote */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'customerquote-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php //echo $form->labelEx($model,'customerId'); ?>
		<?php //echo $form->textField($model,'customerId'); ?>
		<?php //echo $form->error($model,'customerId'); ?>
	</div>

	<div class="row">
		<?php //echo $form->labelEx($model,'quoteId'); ?>
		<?php //echo $form->textField($model,'quoteId'); ?>
		<?php //echo $form->error($model,'quoteId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'quoteDetail'); ?>
		<?php echo $form->textField($model,'quoteDetail',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'quoteDetail'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'price'); ?>
		<?php echo $form->textField($model,'price'); ?>
		<?php echo $form->error($model,'price'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'status'); ?>
		<?php //echo $form->textField($model,'status', array('readonly'=>true, 'value'=>$model->getStatus($model->id))); ?>
		<?php //echo CHtml::textField('status',$model->getStatus($model->id)) ?>
		<?php echo $form->dropDownList($model,'status',$model->getListStatus()); ?>
		<?php echo $form->error($model,'status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createTime'); ?>
		<?php echo $form->textField($model,'createTime'); ?>
		<?php echo $form->error($model,'createTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'modifyTime'); ?>
		<?php echo $form->textField($model,'modifyTime'); ?>
		<?php echo $form->error($model,'modifyTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'paymentMethod'); ?>
		<?php echo $form->textField($model,'paymentMethod',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'paymentMethod'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'paymentStatus'); ?>
		<?php echo $form->textField($model,'paymentStatus',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'paymentStatus'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'incomingLabelCarrier'); ?>
		<?php echo $form->textField($model,'incomingLabelCarrier',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'incomingLabelCarrier'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'incomingLabelTrackingCode'); ?>
		<?php echo $form->textField($model,'incomingLabelTrackingCode',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'incomingLabelTrackingCode'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'outgoingLabelCarrier'); ?>
		<?php echo $form->textField($model,'outgoingLabelCarrier',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'outgoingLabelCarrier'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'outgoingLabelTrackingCode'); ?>
		<?php echo $form->textField($model,'outgoingLabelTrackingCode',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'outgoingLabelTrackingCode'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->